module.exports = {
    head: [
        [
            'link', // 设置 favicon.ico，注意图片放在 public 文件夹下
            { rel: 'icon', href: '/img/logo-red.png' }
        ]
    ],
    title: '奇辰Open-API',
    base: '/doc/', //默认路径
    themeConfig: {
        logo: '/img/logo-red.png',
        nav: [
            { text: '官网', link: 'https://www.lokei.cn' },
            // 可指定链接跳转模式：默认target: '_blank'新窗口打开，_self当前窗口打开
            // { text: '百度', link: 'https://www.baidu.com' },
            // { text: 'CSDN', link: 'https://blog.csdn.net', target: '_blank' },
            // { text: '豆瓣', link: 'https://movie.douban.com', target: '_self', rel: '' },
            // // 支持嵌套,形成下拉式的导航菜单
            // {
            //     text: '语言',
            //     ariaLabel: 'Language Menu',
            //     items: [
            //         { text: '中文', link: '/language/chinese/' },
            //         { text: '英文', link: '/language/english/' }
            //     ]
            // }
        ],
        sidebar: [
            '/',
            '/deploy/',
            {
                title: 'Open-API',
                children: [
                    '/api/common/',
                    '/api/auth/',
                    '/api/conf/'
                ]
            }
        ]
    },
    markdown: {
        lineNumbers: true
    }
}